home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr35
/
tx2mb242.zip
/
SCRIPTS.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-06-29
|
2KB
|
31 lines
@echo off
echo ** Processing Script Quesionnaires into Main Board (0) **
TXT2MSG 0 -qk:\pcb\script\Answer1 -rl k:\pcb\stats\caller*. -tSYSOP
TXT2MSG 0 -qk:\pcb\script\Answer2 -rl k:\pcb\stats\caller*. -tSYSOP
TXT2MSG 0 -qk:\pcb\script\Answer1.tty -rl k:\pcb\stats\caller*. -tSYSOP
TXT2MSG 0 -qk:\pcb\script\Answer2.tty -rl k:\pcb\stats\caller*. -tSYSOP
TXT2MSG 0 -qk:\pcb\script\Access1 -rl k:\pcb\stats\caller1. -tSYSOP
rem └────────┐ │ │ │ │
rem Main Board ─┘ │ │ │ │
rem Script ANSWERx files ──┘ │ │ │
rem R/O; local(non-echo) ─────────────┘ │ │
rem CallerLogs for pulling users' log entries ────┘ │
rem Addressed to the sysop (which is also default for -r) ────────┘
echo ** Moving all scripts to .LOG file(s)
rem We move the scripts off to a log file so they are not re-processed
rem again tomorrow. If we failed to do this, every script would be re-
rem processed every day... not quite what we wanted, eh?
type k:\pcb\script\answer1 >>k:\pcb\stats\answer1.log
type k:\pcb\script\answer1.tty >>k:\pcb\stats\answer1.log
del k:\pcb\script\answer1.*
type k:\pcb\script\answer2 >>k:\pcb\stats\answer2.log
type k:\pcb\script\answer2.tty >>k:\pcb\stats\answer2.log
del k:\pcb\script\answer2.*
type k:\pcb\script\access1 >>k:\pcb\stats\access1.log
del k:\pcb\script\access1
rem Note: you could do that same with your callers logs to it speed up...